f8d1f7ed99e6d147164d446258afb9852c6aa01e,CLI/src/main/java/org/cloudifysource/shell/commands/InstallService.java,InstallService,doExecute,#,78

Before Change


				currentApplicationName, serviceName, zone, props, templateName, timeoutInMinutes);

		if (lifecycleEventContainerPollingID != null) {
			this.adminFacade.waitForLifecycleEvents(lifecycleEventContainerPollingID,
					timeoutInMinutes, TIMEOUT_ERROR_MESSAGE);
		} else {
			throw new CLIException("Failed to retrieve lifecycle logs from rest. " 
			+ "Check logs for more details.");

After Change


				currentApplicationName, serviceName, zone, props, templateName, timeoutInMinutes);

		if (lifecycleEventContainerPollingID != null) {
			RestLifecycleEventsLatch lifecycleEventsPollingLatch = this.adminFacade.
					getLifecycleEventsPollingLatch(lifecycleEventContainerPollingID);
			boolean isDone = lifecycleEventsPollingLatch.waitForLifecycleEvents(timeoutInMinutes, TimeUnit.MINUTES);
			while (!isDone) {
				boolean continueInstallation = promptWouldYouLikeToContinueQuestion();
				if (!continueInstallation) {